package com.cloudkinto.service.orderoutput.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelCollection;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author zhangyy
 * @date 2020/7/3 13:16
 * @description:
 */
@Data
public class OrderOutputExcelExportVo implements Serializable {

    /**
     * 出库单号  OT+yyyymmddhhmmss+id
     */
    @Excel(name = "出库单号",width = 20,needMerge = true)
    private String orderOutputNumber;

    /**
     * 顾客自定单号
     */
    @Excel(name = "顾客自定单号",width = 20,needMerge = true)
    private String orderNo;

    @Excel(name = "配送类型",replace = {"普通_0","次日达_1"},width = 20,needMerge = true)
    private Integer shipmentType;

    /**
     *
     */
    @Excel(name = "发货方式",width = 20,needMerge = true)
    private String status;

    @Excel(name = "发货日期", width = 20, format = "yyyy-MM-dd",needMerge = true)
    private Date sendDate;

    @Excel(name = "店铺",width = 20,needMerge = true)
    private String shopName;

    @Excel(name = "仓库",width = 20,needMerge = true)
    private String storageName;

//    @Excel(name = "公司",width = 20,needMerge = true)
//    private String companyName;

    @Excel(name = "收货人姓名",width = 20,needMerge = true)
    private String receiverName;

    @Excel(name = "电话",width = 20,needMerge = true)
    private String telPhone;

    @Excel(name = "邮编",width = 20,needMerge = true)
    private String postCode;

    @Excel(name = "区域",width = 20,needMerge = true)
    private String area;

    @Excel(name = "地址",width = 20,needMerge = true)
    private String address;

    @Excel(name = "备注",width = 20,needMerge = true)
    private String tips;

    @Excel(name = "快递费",width = 20, type = 10, needMerge = true)
    private Double shipFee;

    @Excel(name = "耗材费",width = 20, type = 10, needMerge = true)
    private Double outFee;

    @Excel(name = "操作费",width = 20, type = 10, needMerge = true)
    private Double operateFee;

    @Excel(name = "税费",width = 20, type = 10, needMerge = true)
    private Double taxFee;

    @Excel(name = "指定配送日期",width = 20,format = "yyyy-MM-dd",needMerge = true)
    private Date deliveryDate;

    @Excel(name = "配送时间段",width = 20,needMerge = true)
    private String deliveryTime;

    @Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss", needMerge = true)
    private Date createTime;

    @Excel(name = "打单时间", width = 20, format = "yyyy-MM-dd HH:mm:ss", needMerge = true)
    private Date uploadTime;

    @Excel(name = "出库时间", width = 20, format = "yyyy-MM-dd HH:mm:ss", needMerge = true)
    private Date sendTime;

    @Excel(name = "配达时间", width = 20, format = "yyyy-MM-dd HH:mm:ss", needMerge = true)
    private Date arriveTime;

    @Excel(name = "快递公司",width = 20,needMerge = true)
    private String trackName;

    @Excel(name = "快递追踪单号",width = 20,needMerge = true)
    private String trackNumber;
//    @Excel(name = "顾客sku",width = 20,needMerge = true)
//    private String commoditySku;
//    @Excel(name = "仓库sku",width = 20,needMerge = true)
//    private String storageSku;
//
//
    @Excel(name = "数量",width = 20,needMerge = true)
    private int skuCount;

    @ExcelCollection(name = "包裹信息")
    private List<OrderOutputPackageExcelExportVo> packageExcelExportVoList;
}
